"""
---------------------------------------------------------------------
- File: ob1.py
- Date: 2025/11/10
- Author: yangzhide
- Email: xxzjyzd@126.com
- Description:
---------------------------------------------------------------------
"""

from sqlmodel import Field

from app.schemas.sqlmode_base import IdTimeModel


class Glass(IdTimeModel, table=True):
    """班级表"""

    __table_args__ = {"comment": "班级表"}
    name: str | None = Field(None, unique=True, index=True, sa_column_kwargs={"comment": "班级名称"})
    description: str | None = Field(None, sa_column_kwargs={"comment": "班级描述"})
